package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.PurchaseList;
import com.atguigu.jxc.entity.Supplier;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

public interface SupplierService {
    //分页查询供应商
    Map<String, Object> list(Integer page, Integer rows, String supplierName);

    //供应商添加或修改
//    ServiceVO save(Supplier supplier);
    void saveSupplier(Supplier supplier,String supplierId);

    //批量删除
    void delete(String[] ids);

    //供应商下拉列表查询 String q（供应商名称模糊查询）
    List<Supplier> getComboboxList(String q);

}
